﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MatrixLibrary;

namespace MatrixTest
{
    class Program
    {
        static void Main(string[] args)
        {
            Matrix m = new Matrix(3, 3);

            m[0, 0] = 0;
            m[0, 1] = 1;
            m[0, 2] = 0;

            m[1, 0] = 0;
            m[1, 1] = 0;
            m[1, 2] = 0;

            m[2, 0] = 0;
            m[2, 1] = 0;
            m[2, 2] = 1;

            //Console.WriteLine("es identidad: {0} ", m.EsMatrixIdentidad);
            Console.WriteLine(m.ToString());
            m.IntercabiarFila(1, 2);
            Console.WriteLine(m.ToString());
            Console.ReadLine();
        }
    }
}
